<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
	<div class="wrapper wrapper-content ">
		<div class="col-sm-12">
			<div class="ibox">
				<div class="ibox-body">
					<div class="fixed-table-toolbar">
						<div class="pull-left">
							<button type="button" class="btn  btn-primary" onclick="add()">
								<i class="fa fa-plus" aria-hidden="true"></i>添加
							</button>
							<button type="button" class="btn  btn-primary" onclick="exportData()"><i class="fa fa-plus" aria-hidden="true"></i>导出
							</button>
						</div>
						<div class="pull-right">
							<button class="btn btn-success" onclick="reLoad()">查询</button>
						</div>
						<div class="pull-right col-md-2 nopadding">
							<select data-placeholder="状态" name="status" id="status"
									class="form-control" tabindex="2">
								<option value="">--请选择--</option>
								<option value="1">新创建</option>
								<option value="3">审核中</option>
								<option value="4">待付款</option>
								<option value="5">已付款</option>
								<option value="6">已作废</option>
							</select>
						</div>
						<div class="pull-right col-md-2 nopadding">
							<input id="payee" type="text" class="form-control"
								   placeholder="收款人">
						</div>
						<div class="pull-right col-md-2 nopadding">
							<input id="paymentType" type="text" class="form-control"
								   placeholder="付款方式">
						</div>
						<div class="pull-right col-md-2 nopadding">
							<input id="getItmProjectname" type="text" class="form-control"
								   placeholder="所属项目">
						</div>
					<table id="exampleTable" data-mobile-responsive="true">
					</table>
				</div>
			</div>
		</div>
		<div>
			<script type="text/javascript">
				var s_firstconfirm_h = 'hidden';
				var s_endconfirm_h = 'hidden';
				var s_payment_h = 'hidden';
			</script>
		</div>
		<div shiro:hasPermission="fin:costapply:firstconfirm">
			<script type="text/javascript">
				s_firstconfirm_h = '';
			</script>
		</div>
		<div shiro:hasPermission="fin:costapply:endconfirm">
			<script type="text/javascript">
				var s_endconfirm_h = '';
			</script>
		</div>
		<div shiro:hasPermission="fin:costapply:payment">
			<script type="text/javascript">
				var s_payment_h = '';
			</script>
		</div>
	</div>
	<div th:include="include :: footer"></div>
	<script type="text/javascript" src="/js/appjs/fin/costapply/costapply.js"></script>
</body>
</html>